import request from "@/utils/request";

export function uploadPicture(data) {
  return request({
    url: "/uploadPicture",
    method: "post",
    data: data,
    headers: {
      "Content-Type": "multipart/form-data",
    },
  });
}

export function getAllPicture() {
  return request({
    url: "/getAllPicture",
    method: "get",
  });
}

export function deletePicture(data) {
  return request({
    url: "/deletePicture",
    method: "post",
    data
  });
}
